package game.Engine.Map;

import game.Engine.Entity.Entity;
import game.Engine.Entity.Player;
import java.awt.Point;

public class Map {
	public Entity[][] entities;
    Point startLoc;
	public Map(int width, int height) {
		entities = new Entity[width+1][height+1];
	}
	
	public void putEntity(int x, int y, Entity e){
		entities[x][y] = e;
		if (e instanceof Player) {
			startLoc = new Point(x,y);
		}
		
	}

	public Point getPlayerStartLocation() {
		return startLoc;
	}

}
